<?php
/**
 * Created by PhpStorm.
 * User: 钊鑫
 * Date: 2019/1/23
 * Time: 10:19
 */
namespace app\api\model;


class Admins extends Base
{
    protected $updateTime=false;

    public function getStateAttr($v)
    {
        return $v==1 ? true : false;
    }

}